@import './variables.scss';

@mixin colorBtn($color) {
  background: $color;

  &:hover {
    color: $color;

    &:before,
    &:after {
      background: $color;
    }
  }
}

.blue-btn {
  @include colorBtn($blue)
}

.light-blue-btn {
  @include colorBtn($light-blue)
}

.red-btn {
  @include colorBtn($red)
}

.pink-btn {
  @include colorBtn($pink)
}

.green-btn {
  @include colorBtn($green)
}

.tiffany-btn {
  @include colorBtn($tiffany)
}

.yellow-btn {
  @include colorBtn($yellow)
}

.pan-btn {
  font-size: 14px;
  color: #fff;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  outline: none;
  transition: 600ms ease all;
  position: relative;
  display: inline-block;

  &:hover {
    background: #fff;

    &:before,
    &:after {
      width: 100%;
      transition: 600ms ease all;
    }
  }

  &:before,
  &:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 0;
    transition: 400ms ease all;
  }

  &::after {
    right: inherit;
    top: inherit;
    left: 0;
    bottom: 0;
  }
}

.custom-button {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #fff;
  color: #fff;
  -webkit-appearance: none;
  text-align: center;
  box-sizing: border-box;
  outline: 0;
  margin: 0;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
}
//公用样式
$color-606266:#606266;
.el-table{
  border: 1px solid rgba($color-606266,0.1);
  border-bottom: 0px solid rgba($color-606266,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.el-dialog__wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  .el-dialog,
  .el-dialog:not(.is-fullscreen){
    margin: 0 !important;
    min-width: 60vw !important;
    //max-width: 70vw !important;
    min-height: 64vh !important;
    max-height: 70vh !important;
    overflow:hidden;
  }
}




/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/

::-webkit-scrollbar {
  width: 5PX;
  /*对垂直流动条有效*/
  height: 5PX;
  /*对水平流动条有效*/
}


/*定义滚动条的轨道颜色、内阴影及圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 1PX rgba(0, 0, 0, 0.3);
  background-color: #ebf6f8;
  border-radius: 5PX;
}
/*定义滑块颜色、内阴影及圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 5PX;
  -webkit-box-shadow: inset 0 0 1PX rgba(0, 0, 0, 0.3);
  background-color: #1890ff;
}
/*定义两端按钮的样式*/
::-webkit-scrollbar-button {
  background-color: #ebf6f8;
  height: 0;
}
/*定义右下角汇合处的样式*/
::-webkit-scrollbar-corner {
  background: #1890ff;
}


.app-wrapper-new{
  /*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/

  ::-webkit-scrollbar {
    width: 5PX;
    /*对垂直流动条有效*/
    height: 5PX;
    /*对水平流动条有效*/
  }


  /*定义滚动条的轨道颜色、内阴影及圆角*/
  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 1PX rgba(0, 0, 0, 0.3);
    background-color: #000716;
    border-radius: 5PX;
  }
  /*定义滑块颜色、内阴影及圆角*/
  ::-webkit-scrollbar-thumb {
    border-radius: 5PX;
    -webkit-box-shadow: inset 0 0 1PX rgba(0, 0, 0, 0.3);
    background-color: #1c456c;
  }
  /*定义两端按钮的样式*/
  ::-webkit-scrollbar-button {
    background-color: #000716;
    height: 0;
  }
  /*定义右下角汇合处的样式*/
  ::-webkit-scrollbar-corner {
    background: #1c456c;

  }
}
